#ifndef DTDPARSERDRIVER_H
#define DTDPARSERDRIVER_H
#include <string>
#include "DTDParser.hh"
#include "StructureDTD.h"

class DTDParserDriver
{
  public:
    DTDParserDriver();
    virtual ~DTDParserDriver();
    
    void scan_begin ();
    void scan_end ();

    int parse (const std::string& f);
    
    // Error handling.
    void error (const zz::location& l, const std::string& m);
    void error (const std::string& m);

    
    std::string file;
    StructureEntiteDTD* structure;
};

#endif
